#include "sensor_driver.h"
#include <stdio.h>

int main() {
    // 初始化传感器设备
    sensor_init();

    // 读取传感器数据
    int data = read_sensor_data();
    if (data != -1) {
        printf("Sensor data: %d\n", data);
    } else {
        printf("No sensor data available.\n");
    }

    return 0;
}
